package
{
    import flash.display.Sprite;
    
    
    [SWF(width="600", height="600", frameRate="60", backgroundColor="0xFFFFFF")]
    public class main extends Sprite
    {
        private var window:CustomWindow;
        private var scrollBar:CustomScrollBar;
        
        public function main()
        {
            super();
            
            window    = new CustomWindow   (200, 300);
            scrollBar = new CustomScrollBar( 10, 300);
            
            window.x  = 100;
            window.y  = 100;
            
            window.addChild(scrollBar);

            addChild(window.baseSprite);
        }
    }
}